<?php /* Smarty version Smarty-3.1.12, created on 2013-01-11 02:47:47
         compiled from "templates\app_list.html" */ ?>
<?php /*%%SmartyHeaderCode:366550ea785a031a93-80043850%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '23da4aadee3ca2100d5dcab0614ae52e4783b142' => 
    array (
      0 => 'templates\\app_list.html',
      1 => 1357801072,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '366550ea785a031a93-80043850',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50ea785a740c24_88275183',
  'variables' => 
  array (
    'assign_info' => 0,
    'uid' => 0,
    'integral' => 0,
    'assign_bannerapp' => 0,
    'assgin_bannerapp' => 0,
    'assign_skeyword' => 0,
    'assign_search' => 0,
    'assign_artcategory' => 0,
    'assign_countapp' => 0,
    'assign_radnom' => 0,
    'assign_per' => 0,
    'assign_pre' => 0,
    'assign_category' => 0,
    'assign_keyword' => 0,
    'assign_right' => 0,
    'assign_newstop5' => 0,
    'assign_newstop10' => 0,
    'assign_newtop5' => 0,
    'assign_newtop10' => 0,
    'assign_apprank' => 0,
    'assign_rightapp' => 0,
    'assign_app' => 0,
    'assign_first' => 0,
    'assign_list' => 0,
    'assign_next' => 0,
    'assign_last' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50ea785a740c24_88275183')) {function content_50ea785a740c24_88275183($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/templates/css/style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/app_style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/app.css" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="/templates/js/jquery.isotope.min.js"></script>
<script type="text/javascript" src="/templates/js/global.js"></script>
<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[1]['info'];?>
" />
<meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[2]['info'];?>
" />
<title>APP下载_<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[0]['info'];?>
</title>
<style>
 body{ font-family:"新宋体"}
</style>
</head>
<body>
	<div id="wrap">
		<div id="nav">
        	<div class="nav_menu">
            	<div class="nav_menu_left">
                	<li><a href="#" onclick="Addme()">收藏本站</a></li>
                    <script>
                    function Addme() {
    					url = document.URL;  //你自己的主页地址
    					title = "游戏扒一扒";  //你自己的主页名称
    					window.external.AddFavorite(url, title);
					}
                    </script>
                    <li>固件</li>
                    <li>新闻中心</li>
                    <li>新手教程</li>
                    <li>越狱</li>
                    <li>微博</li>
                    <li>商务合作</li>
                </div>
                <div class="nav_menu_right">
                	<?php if ($_smarty_tpl->tpl_vars['uid']->value!=''){?>
                	<li><a href="member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">进入会员中心</a></li>
                    <li><a href="member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">剩余积分:<?php echo $_smarty_tpl->tpl_vars['integral']->value;?>
</a></li>
					<li class="quit"><span>退出</span></li>
					<?php }elseif($_smarty_tpl->tpl_vars['uid']->value==''){?>
					<li><a href="login.html" target="_blank">注册</a></li>
                    <li><a href="login.html" target="_blank">登录</a></li>					
                    <?php }?>
                </div>
            </div>
        </div><!--顶部-->
        <div id="header">
        	<div id="banner"><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['id'];?>
.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assgin_bannerapp']->value[0]['name'];?>
" /></a></div>
            <div id="menu">
            	<div class="logo"></div>
                <div class="search">
                	<div class="search_content">
						<div class="search_main">
							<form action="search.php" method="get">
                        	<div class="search_icon"></div>
							
                        	<input class="search_text" name="keywords" type="text" value="<?php echo $_smarty_tpl->tpl_vars['assign_skeyword']->value[0]['name'];?>
" /></div>
							<input class="search_button" type="submit" value="搜索" />
                        	</form>
						
                        	
                    </div>
                    <div class="search_keywords">热门搜索：
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['name'] = "s";
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_search']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total']);
?>
                        	<a href="search.php?keywords=<?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
&page=1" target="_blank"><span><?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
 </span></a>
                        <?php endfor; endif; ?>
                    </div>
                </div>
                	<div class="menu_tab">
                    	<li class="selected"><a href="index.html" target="_blank">iPhone游戏</a></li>
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['name'] = "c";
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_artcategory']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total']);
?>
                        	<li><a href="article-1-<?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['id'];?>
-0.html" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['name'];?>
</a></li>
                        <?php endfor; endif; ?>
<!--                        <li>游戏测评</li>
                        <li>iPhone新闻</li>-->
                        <li><a href="lottery.html" target="_blank">积分兑换</a></li>
                    </div>
            </div>
            <div id="menu_list">
				<div class="listmenu">
              		<li><a href="index.html" target="_blank">首页</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=1&ca=0&kw=0&pre=" target="_blank">限时免费</a></li>
                	<li><a href="app_list.php?page=1&order=1&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">热门游戏</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">最新APP应用</a></li>
                	<li><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=51" target="_blank">网游</a></li>
				</div>
                <div class="app_count"><h1>共<?php echo $_smarty_tpl->tpl_vars['assign_countapp']->value;?>
个应用,今日更新<?php echo $_smarty_tpl->tpl_vars['assign_radnom']->value;?>
个应用</h1></div>
            </div>
        </div><!--头部-->
		<div id="container">
        <div id="content">
			<div id="corner-stamp">
				<div id="location">
					<a href="app_list.php?page=1&order=0&id=0&pri=0&ca=0&kw=&pre=" target="_blank">iPhone游戏</a>>><a href="app_list.php?page=1&order=1&id=0&pri=0&ca=0&kw=&pre=" target="_blank">热门游戏</a>
				</div>
				<div class="stamp_plateform">
                	<label>价格:</label>
					<li class="0"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=0&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">全部</a></li>
					<li class="1"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=1&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iOS</a></li>
					<li class="2"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=2&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">越狱</a></li>
				</div>
                <div class="stamp_sequence">
                	<label>排序:</label>
                    <?php if ($_smarty_tpl->tpl_vars['assign_per']->value[6]==0){?>
					<li class="current"><a href="app_list.php?page=1&order=0&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">最新</a></li>
                    <li><a href="app_list.php?page=1&order=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">最火</a></li>
                    <?php }elseif($_smarty_tpl->tpl_vars['assign_per']->value[6]==1){?>
                    <li><a href="app_list.php?page=1&order=0&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">最新</a></li>
					<li class="current"><a href="app_list.php?page=1&order=1&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">最火</a></li>
                    <?php }?>
                </div>
				<div class="stamp_price">
					<label>价格:</label>
                    <?php if ($_smarty_tpl->tpl_vars['assign_per']->value[1]==0){?>
					<li class="current"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=0&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">全部</a></li>
                    <li><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=1&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">免费</a></li>
                    <li><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=2&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">付费</a></li>
                    <?php }elseif($_smarty_tpl->tpl_vars['assign_per']->value[1]==1){?>
                    <li><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=0&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">全部</a></li>
					<li class="current"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=1&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">免费</a></li>
                    <li><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=2&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">付费</a></li>
                    <?php }elseif($_smarty_tpl->tpl_vars['assign_per']->value[1]==2){?>
                    <li><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=0&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">全部</a></li>
                    <li><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=1&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">免费</a></li>
					<li class="current"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=2&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">付费</a></li>
                    <?php }?>
                    </div>
                    <div class="stamp_Devices">
                    <label>平台:</label>
                    <?php if ($_smarty_tpl->tpl_vars['assign_per']->value[2]==0){?>
					<li class="0 current"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=0&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_pre']->value[5];?>
">全部</a></li>
                     <li class="1"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=1&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iPhone</a></li>
                      <li class="2"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=2&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iPad</a></li>
                    <?php }elseif($_smarty_tpl->tpl_vars['assign_per']->value[2]==1){?>
                    <li class="0"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=0&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_pre']->value[5];?>
">全部</a></li>
                    <li class="1 current"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=1&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iPhone</a></li>
                    <li class="2"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=2&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iPad</a></li>
                    <?php }elseif($_smarty_tpl->tpl_vars['assign_per']->value[2]==2){?>
                    <li class="0"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=0&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_pre']->value[5];?>
">全部</a></li>
                     <li class="1"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=1&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iPhone</a></li>
                    <li class="2 current"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=2&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">iPad</a></li>
                    <?php }?>
				</div>
				<div class="stamp_app">
                	<label>应用:</label>
					<li class="0"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=&pre=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[5];?>
">全部</a></li>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["category"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['name'] = "category";
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_category']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["category"]['total']);
?>
                     <li class="<?php echo $_smarty_tpl->tpl_vars['assign_category']->value[$_smarty_tpl->getVariable('smarty')->value['section']['category']['index']]['id'];?>
"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_category']->value[$_smarty_tpl->getVariable('smarty')->value['section']['category']['index']]['id'];?>
&pre="><?php echo $_smarty_tpl->tpl_vars['assign_category']->value[$_smarty_tpl->getVariable('smarty')->value['section']['category']['index']]['name'];?>
</a></li>
                    <?php endfor; endif; ?>
				</div>
				<div class="stamp_keywords" style="display:none;">
                	<label>关键词:</label>
                    <li class=""><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=">全部</a></li>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["key"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['name'] = "key";
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_keyword']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["key"]['total']);
?>
                    	<?php if ($_smarty_tpl->tpl_vars['assign_keyword']->value[$_smarty_tpl->getVariable('smarty')->value['section']['key']['index']]['id']!=34){?>
                        <li class="<?php echo $_smarty_tpl->tpl_vars['assign_keyword']->value[$_smarty_tpl->getVariable('smarty')->value['section']['key']['index']]['id'];?>
"><a href="app_list.php?page=1&order=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[6];?>
&id=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[0];?>
&pri=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[1];?>
&ca=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[2];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['assign_per']->value[3];?>
&pre=<?php echo $_smarty_tpl->tpl_vars['assign_keyword']->value[$_smarty_tpl->getVariable('smarty')->value['section']['key']['index']]['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_keyword']->value[$_smarty_tpl->getVariable('smarty')->value['section']['key']['index']]['name'];?>
</a></li>
                        <?php }?>
                    <?php endfor; endif; ?>
				</div>
			</div>

                <div id="content_right">
<!--                	<div class="content_app2" style="background:#fff; border:1px solid #dddddd;">
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["right"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['name'] = "right";
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_right']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total']);
?>
						<div class="single">
							<a href="view.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['id'];?>
&page=1" target="_blank"><img src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['name'];?>
" width="230px" height="100px" /> </a>
                        	<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['name'];?>
</div>
                        </div>
						<?php endfor; endif; ?>
                    </div>-->
<!--                    <div class="content_news">
                    	<div class="name">新闻资讯</div>
                        	<div class="category">苹果新闻</div>
							<div class="more">[全部]</div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['name'] = "n";
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newstop5']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="view.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['name'] = "m";
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newstop10']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="view.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_newstop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newstop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newstop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                            <div class="category">游戏测评</div>
							<div class="more">[全部]</div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['name'] = "n";
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newtop5']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="view.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_newtop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newtop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newtop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
							<div class="newslist">
                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['name'] = "m";
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newtop10']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["m"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="view.php?id=<?php echo $_smarty_tpl->tpl_vars['assign_newtop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newtop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newtop10']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                    </div>-->
                    <div class="content_rank">
                    	<div class="category"><div class="category_name">免费应用排行</div><div class="more"><a href="app_list.php?page=1&id=0&pri=1&ca=&kw=&pre" target="_blank">更多>>></a></div></div>
                        	<ul class="top">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['name'] = "p";
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_apprank']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']<4){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num1"><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }else{ ?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num"><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }?>
							<?php endfor; endif; ?>
                            </ul>
                    	<div class="content_app2">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['name'] = "rightapp";
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_rightapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total']);
?>
                    		<div class="single">
								<a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['id'];?>
.html" target="_blank"><img width="230px" height="100px" src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
" /></a>
                        		<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
</div>
                        	</div>
							<?php endfor; endif; ?>
                    	</div>
                    </div>
                    <div class="content_intro">
						<div class="title">新手教程</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>入门功能</p></div>
							<dt class="intro_desc"><p>激活iPhone4S|</p><p>123</p><p>123|</p><p>123</p></dt>
							</li>
						</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>装机必备</p></div>
							<dt class="intro_desc"></dt>
							</li>
						</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>越狱破解</p></div>
							<dt class="intro_desc"></dt>
							</li>
						</div>
					</div>
                </div><!--右侧-->

				<div id="app_list">
                	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["app"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['name'] = "app";
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_app']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total']);
?>
                	<div class="box cla <?php echo $_smarty_tpl->tpl_vars['assign_app']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['kid'];?>
">
                    	<a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_app']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['trackid'];?>
.html" target="_blank"><img width="70px" height="70px" src="<?php echo $_smarty_tpl->tpl_vars['assign_app']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['icon'];?>
" />
                        <div class="name">
                        	<?php echo $_smarty_tpl->tpl_vars['assign_app']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['trackname'];?>

                        </div></a>
                    </div>
                    <?php endfor; endif; ?>
                   
    		</div>
            <div id="fpage">
								<div class="page_content">
                                    <?php echo $_smarty_tpl->tpl_vars['assign_first']->value;?>

                                    <?php echo $_smarty_tpl->tpl_vars['assign_pre']->value;?>

                                    <?php echo $_smarty_tpl->tpl_vars['assign_list']->value;?>

                                    <?php echo $_smarty_tpl->tpl_vars['assign_next']->value;?>

                                    <?php echo $_smarty_tpl->tpl_vars['assign_last']->value;?>

								</div>
								<script>
									var content = $(".page_content").width();
									var fpage = $("#fpage").width();
									var margin = (parseInt(fpage)-parseInt(content))/2;
									$(".page_content").css("margin","0 "+margin+"px");
									
								</script>
            </div>
            <div id="footer"><?php echo $_smarty_tpl->tpl_vars['assign_info']->value[4]['info'];?>
</div><!--底部-->
        </div>
    </div>
	</div>
</body>
<script>
	function GetRequest() {
		var url = location.search; //获取url中"?"符后的字串
		var theRequest = new Object();
		if (url.indexOf("?") != -1) {
			var str = url.substr(1);
			var strs = str.split("&");
			for(var i = 0; i < strs.length; i ++) {
				theRequest[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);
			}
		}
		return theRequest;
	}
			
	var Request = new Object();
	Request = GetRequest();
	var kw = Request['kw'];
	var id = Request['id'];
	var ca = Request['ca'];
	var pri = Request['pri'];
	var pre = Request['pre'];

	var length_id = $(".stamp_plateform").find("li").length;
	var length_kw = $(".stamp_app").find("li").length;
	if(kw == ''){
		$(".stamp_app").find("li").eq(0).addClass("current");
	}
	for(m=0;m<length_kw;m++){
		var num = $(".stamp_app").find("li").eq(m).attr("class");
		if(kw == num){
			$(".stamp_app").find("li").eq(m).addClass("current");
			if(num == 1){
				$(".stamp_keywords").css("display","block");
			}						
		} 
	}
	for(n=0;n<length_id;n++){
		var num = $(".stamp_plateform").find("li").eq(n).attr("class");
		if(id == num){
			$(".stamp_plateform").find("li").eq(n).addClass("current");
			var Request = new Object();
			Request = GetRequest();
			var pre = Request['pre'];
			var length_pre = $(".stamp_keywords").find("li").length;
			for(o=0;o<length_pre;o++){
				var no = $(".stamp_keywords").find("li").eq(o).attr("class");
				if(pre == no){
					$(".stamp_keywords").find("li").eq(o).addClass("current");
				}
			}
		}
	}//APP列表页选项框背景色
</script>
</html>

<?php }} ?>